home *** CD-ROM | disk | FTP | other *** search
-
-
-
- atexit User Commands atexit
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- atexit - Register procedure to be invoked before process
- exits
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttddlliibb..hh>>
-
- iinntt
- aatteexxiitt((_f_u_n_c))
-
- AARRGGUUMMEENNTTSS
- void *_f_u_n_c() (in) Procedure to call just
- before process exits.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- AAtteexxiitt may be used to register the procedure _f_u_n_c, such that
- _f_u_n_c will be invoked by the eexxiitt procedure before the pro-
- cess exits. _F_u_n_c will only be called if the eexxiitt procedure
- is invoked: if the process terminates because of a signal,
- or if the process bypasses eexxiitt by calling __eexxiitt, then _f_u_n_c
- will not be invoked. _F_u_n_c takes no arguments and returns no
- result.
-
- The normal return value from aatteexxiitt is 0. If the registra-
- tion fails then a non-zero value is returned.
-
- KKEEYYWWOORRDDSS
- exit, handler, register
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: March 3, 1990 1
-
-
-
-